package com.exam.mysql;

import com.exam.entity.SysCourseMajorMapExample;
import com.exam.entity.SysCourseMajorMapKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysCourseMajorMapDao {
    long countByExample(SysCourseMajorMapExample example);

    int deleteByExample(SysCourseMajorMapExample example);

    int deleteByPrimaryKey(SysCourseMajorMapKey key);

    int insert(SysCourseMajorMapKey record);

    int insertSelective(SysCourseMajorMapKey record);

    List<SysCourseMajorMapKey> selectByExample(SysCourseMajorMapExample example);

    int updateByExampleSelective(@Param("record") SysCourseMajorMapKey record, @Param("example") SysCourseMajorMapExample example);

    int updateByExample(@Param("record") SysCourseMajorMapKey record, @Param("example") SysCourseMajorMapExample example);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_course_major_map
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysCourseMajorMapKey> list);
}